import { $get, $post } from '@/request/api';

export function fetchQqUserList(params) {
  return $get('/qq_user/list', params);
}

// qq登录
export function fetchQQLogin(code: any) {
  return $post(`/qq_user/login`, { code });
}

// 绑定qq
export function fetchBindQQ(code: any) {
  return $post(`/qq_user/bind_qq`, { code });
}
// 取消绑定qq
export function fetchCancelBindQQ() {
  return $post(`/qq_user/cancel_bind_qq`);
}
